.TH "Zebulon::CoralAHRS::Message" 3 "13 Oct 2009" "Version 2" "zebulon" \" -*- nroff -*-
.ad l
.nh
.SH NAME
Zebulon::CoralAHRS::Message \- 
.PP
Class for describing/defining messages sent to/from the Coral AHRS.  

.SH SYNOPSIS
.br
.PP
.PP
\fC#include <message.h>\fP
.PP
Inherited by \fBZebulon::CoralAHRS::Configuration\fP, \fBZebulon::CoralAHRS::DataEuler\fP, \fBZebulon::CoralAHRS::DataEulerAndSensors\fP, \fBZebulon::CoralAHRS::DataMatrix\fP, \fBZebulon::CoralAHRS::DataQuat\fP, \fBZebulon::CoralAHRS::Ping\fP, \fBZebulon::CoralAHRS::Pong\fP, \fBZebulon::CoralAHRS::RequestConfiguration\fP, and \fBZebulon::CoralAHRS::SetOutputMode\fP.
.SS "Public Types"

.in +1c
.ti -1c
.RI "enum \fBFrom\fP { \fBDataQuat\fP =  0x21, \fBDataEuler\fP =  0x22, \fBDataMatrix\fP =  0x23, \fBDataSensors\fP =  0x24, \fBDataQuatAndSensors\fP =  0x25, \fBDataEulerAndSensors\fP =  0x26, \fBDataMatrixAndSensors\fP =  0x27, \fBDataRawSensors\fP =  0x28, \fBDataQuatAndRawSensors\fP =  0x29, \fBDataEulerAndRawSensors\fP =  0x2A, \fBDataMatrixAndRawSensors\fP =  0x2B, \fBIDString\fP =  0x15, \fBConfiguration\fP =  0x1A, \fBCalibration\fP =  0x1C, \fBPong\fP =  0xEE }"
.br
.ti -1c
.RI "enum \fBTo\fP { \fBSetOutputMode\fP =  0x01, \fBSetCalibration\fP =  0x02, \fBCaptureGyroBias\fP =  0x03, \fBRequestID\fP =  0x05, \fBRestoreUserSettings\fP =  0x06, \fBRestoreFactorySettings\fP =  0x07, \fBSetOutputRateDivisor\fP =  0x08, \fBSetSerialRate\fP =  0x09, \fBRequestConfiguration\fP =  0x0A, \fBRequestCalibration\fP =  0x0C, \fBSaveSettings\fP =  0x0F, \fBPing\fP =  0xDD }"
.br
.ti -1c
.RI "typedef std::vector< \fBMessage\fP * > \fBList\fP"
.br
.RI "\fIList of messages. \fP"
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBMessage\fP (const unsigned char type)"
.br
.ti -1c
.RI "int \fBWrite\fP (CxUtils::Packet &packet) const "
.br
.ti -1c
.RI "virtual int \fBWriteMessageBody\fP (CxUtils::Packet &packet) const =0"
.br
.ti -1c
.RI "int \fBRead\fP (const CxUtils::Packet &packet)"
.br
.ti -1c
.RI "virtual int \fBReadMessageBody\fP (const CxUtils::Packet &packet)=0"
.br
.ti -1c
.RI "virtual \fBMessage\fP * \fBClone\fP () const =0"
.br
.ti -1c
.RI "virtual void \fBPrint\fP () const "
.br
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "static unsigned int \fBExtractMessage\fP (const unsigned char *buffer, const unsigned int length, unsigned char &type, CxUtils::Packet &message)"
.br
.ti -1c
.RI "static unsigned char \fBCalculateChecksum\fP (const CxUtils::Packet &packet)"
.br
.in -1c
.SS "Public Attributes"

.in +1c
.ti -1c
.RI "const unsigned char \fBmMessageType\fP"
.br
.RI "\fIType of Coral \fBMessage\fP. \fP"
.in -1c
.SH "Detailed Description"
.PP 
Class for describing/defining messages sent to/from the Coral AHRS. 

.SH "Author"
.PP 
Generated automatically by Doxygen for zebulon from the source code.
